from django.db import models

# Create your models here.
class Mv_Detail(models.Model):
    """Mv信息"""
    mv_id = models.CharField(max_length=12, verbose_name='Mv_id')
    mv_name = models.CharField(max_length=100, verbose_name='Mv名字')
    mv_pic = models.CharField(max_length=150, verbose_name='Mv图片')
    mv_singer = models.CharField(max_length=1000, verbose_name='Mv歌手')
    mv_singer_id = models.CharField(max_length=15, verbose_name='Mv歌手id')
    mv_play_num = models.CharField(max_length=15, verbose_name='Mv播放量')
    mv_category = models.IntegerField(null=True, verbose_name='Mv创建时间')

    class Meta:
        db_table = 'tb_Mv'
        verbose_name = 'Mv'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.mv_id